package git.JiangZhiXian.car;

public class Car {
   private String colour;
   private String brand;

    public String getColour() {
        return colour;
    }

    public void setColour(String colour) {
        this.colour = colour;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public void drive(){
        System.out.println("车正在行驶");
    }
    public void honk(){
        System.out.println("汽车按喇叭");
    }
}
